package com.ischoolbar.programmer.dao.admin;

import com.ischoolbar.programmer.entity.admin.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface MenuDao {
    public abstract void addMenu(Menu menu);
    public abstract List<Menu> findList(Map<String, Object> queryMap);
    public abstract List<Menu> findTopList();
    public abstract Integer totalCount();
    public abstract void edit_menu(Menu menu);
    public abstract void delete_menu(Integer id);
    public abstract List<Menu> findChildrenList(Integer parentId);
    public abstract List<Menu> findMenuListBymenusId(String ids);
}
